package cn.edu.scau.cmi.dengshixin.singleton;

public class Marshal {
	private static int total;
	private String name;
	
	public Marshal(String name) {
		this.name = name;
		++Marshal.total;
	}	
	
	public String getName() {
		return this.name;
	}
	
	public static int getTotal() {
		return Marshal.total;
	}
}
